package com.android.basiclib.callback;

import java.io.Serializable;

//MVVM回调-Activity以bundle(Serializable)的形式传递给ViewModel，然后ViewModel处理完成之后回调回来
public abstract class HandleCallback implements Serializable {

    public void handleBefore() {
    }

    public abstract void handleFinished(boolean isSuccess, Object data);

    public void handleAfter() {
    }

}
